<div class="row wrapper border-bottom white-bg page-heading">

        <h1></h1>
         <div class="col-lg-8">
            <ol class="breadcrumb">
                <li>
                   <a href="{{URl('manage/user')}}">用户管理</a>
                </li>

            </ol>
        </div>
        <div class="row">
            <div class="col-sm-10">
                <div class="col-lg-12">

                </div>

            </div>

        </div>
    </div>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                       <div class="ibox-title">

                            <div class="ibox-tools">
                                <a class="btn btn-sm btn-success bfR" href="<?php echo site_url('user/create'); ?>">
                                <span class="glyphicon glyphicon-plus">添加用户</span></a>
                            </div>




                       </div>
                        <div class="ibox-content">
                            <div class="row">



                            </div>
                            <div class="table-responsive">
                                <table class="table table-striped">
                                    <thead>
                                    <tr>
                                        <th>编号</th>
                                        <th>用户名 </th>
                                        <th>邮箱</th>
                                        <th>密码 </th>
                                        <th>操作</th>

                                    </tr>
                                    </thead>
                                    <tbody>

                                    <?php foreach ($users as $val) {?>
                                    <tr>
                                        <td><?php echo $val->id; ?></td>
                                        <td><?php echo $val->name; ?></td>
                                        <td><?php echo $val->email; ?></td>
                                        <td><?php echo $val->password; ?></td>
                                        <td>

                                            <a href="<?php echo site_url('/user/edit/' . $val->id); ?>"><button class="btn btn-primary" type="button"><i class="fa fa-pencil-square-o"></i>
                                                </button>
                                            </a>

                                        </td>
                                    </tr>
                                    <?php }?>
                                    </tbody>
                                </table>
                            </div>

                        </div>

                    </div>
                </div>
        </div>

    </div>
